package com.kevin.mapping.script.node.logical;

import com.kevin.mapping.script.lexer.Token;
import com.kevin.mapping.script.node.stmt.Stmt;

public class Logical extends Stmt {
    private Token token;
    private Stmt left;
    private Stmt right;

    public Logical(Token token, Stmt left, Stmt right) {
        super(token);
        this.left = left;
        this.right = right;
    }

    public Token getToken() {
        return token;
    }

    public void setToken(Token token) {
        this.token = token;
    }

    public Stmt getLeft() {
        return left;
    }

    public void setLeft(Stmt left) {
        this.left = left;
    }

    public Stmt getRight() {
        return right;
    }

    public void setRight(Stmt right) {
        this.right = right;
    }
}
